import SymbolType from "./SymbolType";

export default class LoopMode {

    static isValid(value) {
        return value == SymbolType.LOOP
            || value == SymbolType.PLAY_ONCE
            || value == SymbolType.SINGLE_FRAME;
    }

}

LoopMode.LOOP = "loop";
LoopMode.PLAY_ONCE = "playonce";
LoopMode.SINGLE_FRAME = "singleframe";